import Request from '../utils/request'
import { Policy, PolicyQuery } from './types/policy'
import { Wrapper } from './types/result'
/**
 * 政策查询列表
 */

export function getLawList (query: PolicyQuery) {
  return Request<Wrapper<Policy>>({
    url: '/api/app/policyinfo/page',
    method: 'GET',
    params: query
  })
}